package com.lantosec.hmrp.modules.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.core.kit.PageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface LargeSetupCheckMapper extends BaseMapper<Map>{

    /**
     * 大型检查阳性率
     * @param page
     * @param startTime
     * @param endTime
     * @param deptName
     * @param docName
     * @param dateState
     * @param deptState
     * @param docNameState
     * @return
     */
    PageVO<Map<String, Object>> getBigChkNegPosMonitorList(PageVO<Map<String, Object>> page, @Param("startTime") String startTime, @Param("endTime") String endTime,
                                                           @Param("deptName") String deptName, @Param("docName") String docName, @Param("dateState") Integer dateState,
                                                           @Param("deptState") Integer deptState, @Param("docNameState") Integer docNameState);

    /**
     * 检查偷漏费监控
     * @param page
     * @param startTime
     * @param endTime
     * @param dateState
     * @return
     */
    PageVO<Map<String, Object>> getChkFeeMonitorList(PageVO<Map<String, Object>> page, @Param("startTime") String startTime, @Param("endTime") String endTime,
                                                     @Param("dateState") Integer dateState);

    /**
     * 检查数
     * @param page
     * @param startTime
     * @param endTime
     * @param patientName
     * @param medRecordNo
     * @param billHisDoctor
     * @param chkHisDoctor
     * @param diagName
     * @param chkName
     * @param chkHisDept
     * @param chkPart
     * @param feeState
     * @param dateState
     * @return
     */
    PageVO<Map<String, Object>> getCheckNumberList(PageVO<Map<String, Object>> page, @Param("startTime") String startTime, @Param("endTime") String endTime,
                                                   @Param("patientName") String patientName, @Param("medRecordNo") String medRecordNo, @Param("billHisDoctor") String billHisDoctor,
                                                   @Param("chkHisDoctor") String chkHisDoctor, @Param("diagName") String diagName, @Param("chkName") String chkName,
                                                   @Param("chkHisDept") String chkHisDept, @Param("chkPart") String chkPart, @Param("feeState") String feeState,
                                                   @Param("dateState") Integer dateState);
}
